﻿/*
#**************************************************************************
#  openSIS is a student information system for public and non-public 
#  schools from Open Solutions for Education, Inc. web: www.os4ed.com
#
#  openSIS is  web-based, open source, and comes packed with features that 
#  include student demographic info, scheduling, grade book, attendance, 
#  report cards, eligibility, transcripts, parent portal, 
#  student portal and more.   
#
#  Visit the openSIS web site at http://www.opensis.com to learn more.
#  If you have question regarding this system or the license, please send 
#  an email to info@os4ed.com.
#
#  This program is released under the terms of the GNU General Public License  
#  as  published by the Free Software Foundation, version 2 of the License. 
#  See license.txt.
#
#  This program is distributed in the hope that it will be useful,
#  but WITHOUT ANY WARRANTY; without even the implied warranty of
#  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
#  GNU General Public License for more details.
#
#  You should have received a copy of the GNU General Public License
#  along with this program.  If not, see <http://www.gnu.org/licenses/>.
#
#**************************************************************************** 

*/

using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.ServiceModel;
using System.Data;

namespace WcfService1
{
    [ServiceContract]
    public interface IOpenSISWCFServiceStaff
    {
        [OperationContract]
        DataSet PopulateEthnicity();
        [OperationContract]
        DataSet PopulateLanguage();
        [OperationContract]
        DataSet PopulateState();
        [OperationContract]
        DataSet PopulateStaffType();
        [OperationContract]
        DataSet PopulateSchools();
        [OperationContract]
        DataSet PopulateSchoolsCheckbox();
        [OperationContract]
        DataSet PopulateGender();
        [OperationContract]
        string GenerateRandomNumber();
        [OperationContract]
        int InsertStaffDetails(string Language,string Gender,string Ethnicity,string FirstName,string MiddleName,string LastName,string DOB,string LastUpdated,string StaffIdNumber,string Alternateid,string Salutation,string Suffix,string Secondlang,string Thirdlang,string Disability,string Disabilitydesc);
        [OperationContract]
        void InsertStaffAddressDetails(int StaffId,string PrimaryAddress1,string PrimaryAddress2,string PrimaryCity,string PrimaryState,string PrimaryZip,string SecondaryAddress1,string SecondaryAddress2,string SecondaryCity,string SecondaryState,string SecondaryZip,string LastUpdated,string PoBox);
        [OperationContract]
        void InsertStaffPhoneDetails(int StaffId,string LastUpdated,string HomePhone,string MobilPhone,string Officphone,string WorkEmail,string Personalemail);
        [OperationContract]
        void InsertStaffSchoolJoinDetails(int HomeSchoolId,int StaffId,string JoiningDate,string LeftDate,string LastUpdated,string Jobtitle,string StaffType);
        [OperationContract]
        void InsertStaffAccessDetails(int StaffId,string Username,string Password,string LastUpdated,string SecretQuestn,string SecretAnswr,string OpensisAcces,string SchoolAccess);
        [OperationContract]
        void InsertStaffLibraryDetails(int StaffId,string LibraryCard,string LibraryClass,string Status,string LibraryAccess);
        [OperationContract]
        void InsertStaffEmergncyContact(int StaffId,string Emrgnfirstnam,string Emrgnlastnam,string Emrgnrelationship,string EmrgnHomePhon,string EmrgnMobilePhon,string EmrgnWorkPhon,string Emrgnemail);
        [OperationContract]
        void InsertStaffCertificateDetails(int StaffId,string CertDate,string CertExpirDate,string CertCode,string CertShortName,string CertName,string Primarycert,string LastUpdated,string CertDescription);
        [OperationContract]
        void savestaffphoto(int StaffId,int HomeSchoolId,string PhotoUrl );
        [OperationContract]
        DataTable PopulateStaffBySchoolID(int SchoolId,string FirstName,string LastName,string Username);
        [OperationContract]
        DataTable PopulateStaffdetails(int SchoolId, int StaffId);
        [OperationContract]
        DataTable PopulateSchoolaccesschkbox(string SchoolAccess);
        [OperationContract]
        DataTable PopulateCertification(int StaffID);
        [OperationContract]
        DataTable PopulatestaffPhoto(int StaffId,int HomeSchoolID);
        [OperationContract]
        DataTable GetNextStaffId(int StaffID, int SchoolID);
        [OperationContract]
        DataSet GetPreviousStaffId(int StaffIID, int SchoolIID);
        [OperationContract]
        DataTable GetFirstStudentIdBySchoolId(int SchoolIID);
        [OperationContract]
        DataTable GetLastStaffIdBySchoolId(int SchoolIID);
        [OperationContract]
        DataTable PopulateStaffdetailsEdit(int SchoolId, int StaffId);
        [OperationContract]
        void UpdateStaffDetails(string Language,string Gender,string Ethnicity,string FirstName,string MiddleName,string LastName,string DOB,string LastUpdated,string StaffIdNumber,string Alternateid,string Salutation,string Suffix,string Secondlang,string Thirdlang,string Disability,string Disabilitydesc,int StaffId);
        [OperationContract]
        void UpdateStaffaddressDetails(string PrimaryAddress1,string PrimaryAddress2,string PrimaryCity,string PrimaryState,string PrimaryZip,string SecondaryAddress1,string SecondaryAddress2,string SecondaryCity,string SecondaryState,string SecondaryZip,string PoBox,int StaffId);
        [OperationContract]
        void UpdateStaffphoneDetails(string HomePhone,string MobilPhon,string Officphon,string WorkEmail,string Personalemail,int StaffId);
        [OperationContract]
        void UpdateStaffschooljoinDetails(int HomeSchoolId,string JoiningDate,string LeftDate,string Jobtitle,string StaffType,int StaffId);
        [OperationContract]
        void UpdateStaffaccessDetails(string Username,string Password,string SecretQuestn,string SecretAnswr,string OpensisAcces,string SchoolAccess,int StaffId);
        [OperationContract]
        int CheckLibAccessbyStaffid(int StaffID);
        [OperationContract]
        void UpdateStafflibaccessDetails(string LibraryCard,string LibraryClass,string Status,string LibraryAccess,int StaffId);
        [OperationContract]
        void UpdateStaffemergencyDetails(string Emrgnfirstnam,string Emrgnlastnam,string Emrgnrelationship,string EmrgnHomePhon,string EmrgnMobilePhon,string EmrgnWorkPhon,string Emrgnemail,int StaffId);
        [OperationContract]
        void UpdateStaffcertificationDetails(string CertDate,string CertExpirDate,string CertCode,string CertShortName,string CertName,string Primarycert,string CertDescription,int StaffId,string Certificateid);
        [OperationContract]
        void Updatestaffphoto(int StaffID, int HomeSchID, string PhotoURL);

       
    }
}